<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>MT33xx GNSS PMTK User&#39;s Guide: Introduction</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="MediaTek.PNG"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MT33xx GNSS PMTK User&#39;s Guide
   &#160;<span id="projectnumber">Version 1.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Command&#160;Reference</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('index.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Introduction </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="PMTK_Overview"></a>
Overview</h1>
<p>PMTK command is a MediaTek proprietary GNSS data transfer protocol. This protocol is used to configure the GNSS module's parameters, aiding information and to receive notifications from the GNSS module. The PMTK aligns with the NMEA sentence format to process data more conveniently. </p><hr/>
<h1><a class="anchor" id="COMMAND_Chapter"></a>
Command Format</h1>
<p>The PMTK packet format with number of bytes allocated for each field is show in the table. </p><table class="doxtable">
<tr>
<th>1 </th><th>4 </th><th>3 </th><th>variable </th><th>1 </th><th>1 </th><th>1 </th><th>1 </th><th>1  </th></tr>
<tr>
<td><b> Preamble </b> </td><td><b> Tracker ID</b></td><td><b> PktType </b></td><td><b> DataField</b></td><td><b> *</b></td><td><b> CHK1</b></td><td><b> CHK2</b></td><td><b> CR</b></td><td><b> LF</b> </td></tr>
</table>
<p>The details of each field in the packet are provided in the table. </p><table class="doxtable">
<tr>
<th>Parameter </th><th>Description  </th></tr>
<tr>
<td><b>Preamble </b></td><td>One byte character.<br />
 - Example, '$' </td></tr>
<tr>
<td><b>TalkerID </b></td><td>Four bytes character string.<br />
 - Example, PMTK. </td></tr>
<tr>
<td><b>PktType </b></td><td>Three bytes character string.<br />
 - From 000 to 999. An identifier used to tell the decoder how to decode the packet. </td></tr>
<tr>
<td><b>DataField </b></td><td>Has a variable length depending on the packet type.<br />
 - A comma symbol ',' must be inserted ahead each data filed to help the decoder process the <b>DataField</b>. </td></tr>
<tr>
<td><b>* </b></td><td>One byte character.<br />
 - The star symbol is used to mark the end of the <b>DataField</b>. </td></tr>
<tr>
<td><b>CHK1, CHK2 </b></td><td>One byte character for each.<br />
 - <b>CHK1</b> and <b>CHK2</b> are the checksum of the data between <b>Preamble</b> and '*'. </td></tr>
<tr>
<td><b>CR, LF </b></td><td>One byte ASCII data for each.<br />
 - The two bytes are used to identify the end of a packet. </td></tr>
</table>
<h1><a class="anchor" id="COMMAND_List_Chapter"></a>
Command List</h1>
<p>The PMTK command list for each packet type is given in the table.<br />
 </p><dl class="section note"><dt>Note</dt><dd>1. The commands with "_SET_" are set commands, to set the GNSS configuration. The commands with "_Q_" are query commands, to query GNSS configuration set by the set commands with "_SET_". The commands with "_DT_" are the response to the query commands.<br />
 2. You can check the result in response of PMTK001 after send a PMTK command.</dd></dl>
<p>PMTK Command Table: </p><table class="doxtable">
<tr>
<th>Packet Type </th><th>Command </th><th>Description  </th></tr>
<tr>
<td>000 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea684eb8a711e4201f6de6aa5067100f21">PMTK_TEST</a> </td><td>Test Packet. </td></tr>
<tr>
<td>001 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beabf86ac7cc7d3b0ce907b0a86e6a1338b">PMTK_ACK</a> </td><td>Acknowledge of PMTK command. </td></tr>
<tr>
<td>010 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaa957fa7398464443cff5412f35fd0611">PMTK_SYS_MSG</a> </td><td>System output message. </td></tr>
<tr>
<td>011 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea3c5bcc16f2cb139831b0c05d7e77d4d3">PMTK_TXT_MSG</a> </td><td>Output system text message. </td></tr>
<tr>
<td>101 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea3ace760b44e085e0142fef46f1837e0d">PMTK_CMD_HOT_START</a> </td><td>Hot Start. Use the available data in the NVRAM. </td></tr>
<tr>
<td>102 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea7bd230a1d411831e909a6bdeaec2f7eb">PMTK_CMD_WARM_START</a> </td><td>Warm Start. Not using Ephemeris data at start. </td></tr>
<tr>
<td>103 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea815b92d27ea9a9adb14e4dbf2c6eb939">PMTK_CMD_COLD_START</a> </td><td>Cold Start. Not using the Position, Almanac and Ephemeris data at start. </td></tr>
<tr>
<td>104 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea48aff60bb41ea828e9ccaf810f3f47f9">PMTK_CMD_FULL_COLD_START</a> </td><td>Full Cold Start. </td></tr>
<tr>
<td>127 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea7cff33d092ea4b69a868898082a9383d">PMTK_CMD_CLEAR_EPO</a> </td><td>Erase the EPO data stored in the flash memory. </td></tr>
<tr>
<td>161 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea466830c3723b4afc4ffaa5d389f528c3">PMTK_CMD_STANDBY_MODE</a> </td><td>Enter standby modes (stop mode or sleep mode) for power saving. </td></tr>
<tr>
<td>183 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaf8f88476f893e2e7445714372c99b6f3">PMTK_LOCUS_QUERY_STATUS</a> </td><td>Query the GNSS is in the log status or not. </td></tr>
<tr>
<td>184 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea37e936f37aef1900a7e5a87fddbf8861">PMTK_LOCUS_ERASE_FLASH</a> </td><td>Erase the logged GNSS data on the flash. </td></tr>
<tr>
<td>185 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaca811436d2d5072939d0f5cee493231c">PMTK_LOCUS_STOP_LOGGER</a> </td><td>Stop the data logging. </td></tr>
<tr>
<td>186 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beab7a9a31d9329df65b587ae512e1e6a14">PMTK_LOCUS_LOG_NOW</a> </td><td>Snapshot write log. </td></tr>
<tr>
<td>187 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea69756339c6d97ad458e3ccadc60e3059">PMTK_LOCUS_CONFIG</a> </td><td>Configure Locus settings by command. </td></tr>
<tr>
<td>220 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaf38eaf459a6e12d9579a52ea433d2b3b">PMTK_SET_POS_FIX</a> </td><td>Position Fix Interval. </td></tr>
<tr>
<td>223 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea5d520ba1d9f1b61bcce90b521632c32d">PMTK_SET_AL_DEE_CFG</a> </td><td>Used for setting periodic mode parameters and is used after PMTK225 command. </td></tr>
<tr>
<td>225 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea8789b7bc5c5abad0ab627ad50aba79d4">PMTK_SET_PERIODIC_MODE</a> </td><td>Periodic Power Saving Mode Settings: (See following chart). </td></tr>
<tr>
<td>250 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea9e91e2fdcbc35d2cb5e9c9fe9f564e98">PMTK_SET_DATA_PORT</a> </td><td>Set data port input/output data type and baudrate. </td></tr>
<tr>
<td>251 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea1c16678ddc76189e4215f65893655821">PMTK_SET_NMEA_BAUDRATE</a> </td><td>Set NMEA port baudrate. </td></tr>
<tr>
<td>253 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beac94b5ff1087757868d8afeff20c011fa">PMTK_SET_OUTPUT_FMT</a> </td><td>Set data output format for current port. </td></tr>
<tr>
<td>255 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaec48bc94e3f15bdf3f9eda6d76fbd7ab">PMTK_SET_SYNC_PPS_NMEA</a> </td><td>Enable or disable fixed NMEA output time in pulse per second (PPS) function (default value is "0"). </td></tr>
<tr>
<td>256 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea1265f33d4aba1384f11ef5872119f573">PMTK_SET_TIMING_PRODUCT</a> </td><td>Enable or disable timing product mode (Default off). </td></tr>
<tr>
<td>257 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea56cefa0d6551ed89dc1974929c35a875">PMTK_SET_HIGH_ACCURACY</a> </td><td>Enable fast TTFF or high accuracy function when out of the tunnel or garage. (Default enabled high accuracy function). </td></tr>
<tr>
<td>262 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaa23a5c6e8e35b989498e6b6b101731e7">PMTK_SET_GLP_MODE</a> </td><td>Enable or disable GNSS Low Power(GLP) mode. </td></tr>
<tr>
<td>265 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea9e2fbd7c984e5e6e082b3825b060ca00">PMTK_SET_NMEA_DECIMAL_PRECISION</a> </td><td>Set number of fractional digit in NMEA. </td></tr>
<tr>
<td>285 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea2855fd322f2e27500a2844b7776c1061">PMTK_SET_PPS_CONFIG_CMD</a> </td><td>Configure the PPS settings. </td></tr>
<tr>
<td>286 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beabbbb799ada6d27a16cb6a9e7fabcc0fd">PMTK_SET_AIC_CMD</a> </td><td>Enable or disable active interference cancellation function. </td></tr>
<tr>
<td>299 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea8371d87a4fab64e97e5a53200fa6cda2">PMTK_SET_OUTPUT_DEBUG</a> </td><td>Enable or disable the Debug log output. </td></tr>
<tr>
<td>301 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea83e665f81bc20f6d8e425e0749f3f288">PMTK_API_SET_DGPS_MODE</a> </td><td>DGPS correction data source mode. </td></tr>
<tr>
<td>306 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea8060ce5da125915a4b00f7aff4220889">PMTK_API_SET_MIN_SNR</a> </td><td>Set the minimum SNR of used satellites. </td></tr>
<tr>
<td>308 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea8782a9c367032850565b8d449225ddda">PMTK_API_SET_DR_LIMIT</a> </td><td>Set the number of estimated fix when entering the tunnel. </td></tr>
<tr>
<td>311 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaeb41c59cd96e6d16e343046893ff7442">PMTK_API_SET_ELEV_MASK</a> </td><td>Set satellite elevation mask. </td></tr>
<tr>
<td>313 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea153232faf17c74620043aa97852fbf93">PMTK_API_SET_SBAS_ENABLED</a> </td><td>Enable to search a SBAS satellite or not. </td></tr>
<tr>
<td>314 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea9b58e4f853bd537a8d44fe1021c57bb1">PMTK_API_SET_NMEA_OUTPUT</a> </td><td>Set the NMEA sentence output type and frequencies. </td></tr>
<tr>
<td>326 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beafab5347f328ae50a3b524cad27b2be8d">PMTK_API_SET_PPS</a> </td><td>This packet contains the local time in milliseconds and phase where the PPS should be placed. </td></tr>
<tr>
<td>328 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaafb3f64364e21510313190785e3fc7d0">PMTK_API_SET_HACC_MASK</a> </td><td>Set horizontal accuracy mask. Range from 30m to 200m or -1. GPS will get fix only when hacc value &lt; mask. </td></tr>
<tr>
<td>330 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea467817db20c8c590ea5c065e5faa1f53">PMTK_API_SET_DATUM</a> </td><td>Set default datum. </td></tr>
<tr>
<td>331 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaff110d710ff9d5961dd33c7291e5824d">PMTK_API_SET_DATUM_ADVANCE</a> </td><td>Set user defined datum. </td></tr>
<tr>
<td>351 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea8ddbdbf2649933cc970f831500dfe66f">PMTK_API_SET_SUPPORT_QZSS_NMEA</a> </td><td>The receiver supports new NMEA format for QZSS. The command allow user enable or disable QZSS NMEA format. </td></tr>
<tr>
<td>352 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaa8d6e40f333aff7e4435f88809042ac8">PMTK_API_SET_STOP_QZSS</a> </td><td>Since QZSS is regional positioning service. The command allow user enable or disable QZSS function. </td></tr>
<tr>
<td>353 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea2edaf5cac4aa4a2fc73b5312d7428b24">PMTK_API_SET_GNSS_SEARCH_MODE</a> </td><td>Configure the receiver to start searching for satellites. The setting is available when the NVRAM data is valid. </td></tr>
<tr>
<td>355 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beace569382848d8559a16fa090e8d56100">PMTK_API_GET_GNSS_OPERAT_MODE</a> </td><td>This command is to get GPS,GLONASS, BeiDou and GALILEO search settings. </td></tr>
<tr>
<td>356 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea377b4ea82070d970dbfa11b6cf426594">PMTK_API_SET_HDOP_THRESHOLD</a> </td><td>This command is to set the HDOP threshold. </td></tr>
<tr>
<td>357 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bead7e27c02b08d6ff4296f7a67a00dfe26">PMTK_API_GET_HDOP_THRESHOLD</a> </td><td>This command is to get the HDOP threshold. </td></tr>
<tr>
<td>381 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea9873165a5537dafa3b4c57dbea50d258">PMTK_API_SET_PLL</a> </td><td>Set PLL on or off. </td></tr>
<tr>
<td>385 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea3fb309c02edc5daf43592d9f2959928e">PMTK_API_SET_HIGH_SENSITIVITY_TRACKING_NO_FIX</a> </td><td>Disable/Enable position output in high sensitivity tracking mode. </td></tr>
<tr>
<td>386 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea144340c8d86359dce90bcdc73a1c3f47">PMTK_API_SET_STATIC_NAVI_THD</a> </td><td>Set the speed threshold for static navigation. </td></tr>
<tr>
<td>399 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea9b4d921b1fe8ac8f59195773a81a9aa3">PMTK_API_SET_FLASH_DATA</a> </td><td>Write data to the flash. </td></tr>
<tr>
<td>400 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea8d1f075aa6a35cbca97ca5fb7ac07fa1">PMTK_API_Q_FIX_CTL</a> </td><td>API_Query_Fix_Ctl </td></tr>
<tr>
<td>401 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea55bd5f9f60b4113329eef6c1ad3ed296">PMTK_API_Q_DGPS_MODE</a> </td><td>API_Query_Dgps_Mode </td></tr>
<tr>
<td>406 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea05ed0801721f44c80238d29c18bf9a02">PMTK_API_Q_MIN_SNR</a> </td><td>Query the minimum SNR of used satellites. </td></tr>
<tr>
<td>408 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea1ce00a71b2d49bed618e16eaf551cd9a">PMTK_API_Q_DR_LIMIT</a> </td><td>Query the number of estimated fix when entering the tunnel. </td></tr>
<tr>
<td>411 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaa99559cfe61a412f1e302dc39021b879">PMTK_API_Q_ELEV_MASK</a> </td><td>Query satellite elevation mask. </td></tr>
<tr>
<td>413 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaf1a7e2d71a17c147d1ef007986a29cfb">PMTK_API_Q_SBAS_ENABLED</a> </td><td>Query the status of SBAS to check if it is enabled or not. </td></tr>
<tr>
<td>414 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaa932726f1937dfdd7955fbee8819489a">PMTK_API_Q_NMEA_OUTPUT</a> </td><td>Query current NMEA sentence output frequencies. </td></tr>
<tr>
<td>428 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea8a11d9cb5cca390770b0f6b6ffc64b5a">PMTK_API_Q_HACC_MASK</a> </td><td>Query horizontal accuracy mask. </td></tr>
<tr>
<td>430 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea94e91e0b1e6fa7207f32a1f49bdf5c94">PMTK_API_Q_DATUM</a> </td><td>Query default datum. </td></tr>
<tr>
<td>431 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bead2312b41c26e764ef34621c560f9973c">PMTK_API_Q_DATUM_ADVANCE</a> </td><td>Query user defined datum. </td></tr>
<tr>
<td>435 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaa84af36afd8dbaa82b104bbf0b263592">PMTK_API_Q_RTC_TIME</a> </td><td>Query current RTC UTC time. </td></tr>
<tr>
<td>436 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beab3eae09a18fc5417f8b359d9efdfd235">PMTK_API_Q_HIGH_SENSITIVITY_TRACKING_NO_FIX</a> </td><td>Query setting of position output disabled/enabled in high sensitivity tracking mode. </td></tr>
<tr>
<td>449 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea349fe122413c42817cdd46f0888a6c5f">PMTK_API_Q_EPH_STATUS</a> </td><td>This command is to query the current status of ephemeris downloading </td></tr>
<tr>
<td>458 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beab139be3d7b4b2482f2838bac51db2b39">PMTK_API_GET_POS_XYZ</a> </td><td>Returns the WGS84 ECEF XYZ Cartesian Position vector ( metres ) with an estimated 1-sigma accuracy. </td></tr>
<tr>
<td>461 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea32f454682a68a9c3bccef8e25b15b8ba">PMTK_API_GET_VEL_XYZ</a> </td><td>Returns the WGS84 ECEF XYZ Cartesian velocity vector ( m/s ) with an estimated 1-sigma accuracy. </td></tr>
<tr>
<td>499 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea063d8815c8ee51cd08acda80daa1e81e">PMTK_API_GET_FLASH_DATA</a> </td><td>Read the flash memory. </td></tr>
<tr>
<td>500 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea9c0c1ca48067fdd105f70e04487ff701">PMTK_DT_FIX_CTL</a> </td><td>These parameters show the rate of position fixing activity. </td></tr>
<tr>
<td>501 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea08e334f61a3facbee28df70210d878d3">PMTK_DT_DGPS_MODE</a> </td><td>DGPS Data Source Mode. </td></tr>
<tr>
<td>513 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beae99971090e79d0b006294059e32301b0">PMTK_DT_SBAS_ENABLED</a> </td><td>Enable or disable searching for SBAS satellites. </td></tr>
<tr>
<td>514 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beab2b4ec0b0540e9fc51bc8a839d44c8ff">PMTK_DT_NMEA_OUTPUT</a> </td><td>The NMEA sentence output frequency configuration. </td></tr>
<tr>
<td>528 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea807d8bf7605b87d790f4593f06dbb2f6">PMTK_DT_HACC_MASK</a> </td><td>Current horizontal accuracy mask. </td></tr>
<tr>
<td>530 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beab85d515c5cb70af97c6afb7f15e225b2">PMTK_DT_DATUM</a> </td><td>Current datum used. </td></tr>
<tr>
<td>535 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea6732848b6864eda4c0bf2d6e665ebeb9">PMTK_DT_RTC_TIME</a> </td><td>This packet carries current RTC UTC time. </td></tr>
<tr>
<td>536 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beabadd7524424255f446ccfd0a37b1df97">PMTK_DT_HIGH_SENSITIVITY_TRACKING_NO_FIX</a> </td><td>This packet carries setting of position output disabled/enabled in high sensitivity tracking mode. </td></tr>
<tr>
<td>599 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beae4a762e079462ab42723d0052ad9c5b4">PMTK_DT_FLASH_DATA</a> </td><td>The data in the flash memory. </td></tr>
<tr>
<td>602 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bead90684782d20bd184adebce214da0fb7">PMTK_Q_DATA_PORT</a> </td><td>Read data port input/output data type and baudrate. </td></tr>
<tr>
<td>605 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaf8a05f41e01df87665ca9237aa9f416e">PMTK_Q_RELEASE</a> </td><td>Query the firmware release information. </td></tr>
<tr>
<td>607 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea3f53bb52d96bb7739b2c6cf17d05c268">PMTK_Q_EPO_INFO</a> </td><td>Query the EPO data status stored in the GPS chip. </td></tr>
<tr>
<td>622 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea2625b3468647086a44ea53b5e7b58288">PMTK_Q_LOCUS_DATA</a> </td><td>Use Locus tool to retrieve the logging data from the NVRAM. </td></tr>
<tr>
<td>660 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beab0a80b268936db695d5a7ccff70e10bf">PMTK_Q_AVAILABLE_SV_EPH</a> </td><td>Support PMTK660 which report valid Ephemeris SV. </td></tr>
<tr>
<td>661 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beae8b254db5898fe8f36f6f650d81cb0d1">PMTK_Q_AVAILABLE_SV_ALM</a> </td><td>Support PMTK661 which report valid Almanac SV. </td></tr>
<tr>
<td>667 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bead7650c8cb304121491fdf61bc284c036">PMTK_Q_UTC_CORRECTION_DATA</a> </td><td>Get UTC correction data. </td></tr>
<tr>
<td>668 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea72e57a8d23a2f9d09d2c9685cb93d9c7">PMTK_Q_GPS_KEP</a> </td><td>Get GPS ephemeris data in kepler format. </td></tr>
<tr>
<td>669 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea6dc3a9739c6f1928716ee2c97e28204b">PMTK_Q_BDS_KEP</a> </td><td>Get BDS ephemeris data in kepler format. </td></tr>
<tr>
<td>670 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea9c90d1ead04106ba8d52a532d9e0cb14">PMTK_Q_GPS_IONO</a> </td><td>Query ionospheric parameters. </td></tr>
<tr>
<td>702 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beae96a7db722c3fbaececd2c8d9a45b19c">PMTK_DT_DATA_PORT</a> </td><td>Display Data port input/output data type and baud rate. </td></tr>
<tr>
<td>705 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beac6d9aff834a28ac4feddf34a66102a43">PMTK_DT_RELEASE</a> </td><td>Firmware release information. </td></tr>
<tr>
<td>707 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea6b852645bdf9e0680bb45017559105e5">PMTK_DT_EPO_INFO</a> </td><td>EPO data status stored in GPS chip. </td></tr>
<tr>
<td>721 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea1397b023e0d48ec75adabef05a22e061">PMTK_DT_SV_EPO</a> </td><td>The packet contains GPS EPO data for a single satellite. </td></tr>
<tr>
<td>740 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea1f021ebe90b969144edb422d2e41d62d">PMTK_DT_UTC</a> </td><td>The packet contains current UTC time. </td></tr>
<tr>
<td>741 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea00bfa74b9ab4be1cb538d6720808c007">PMTK_DT_POS</a> </td><td>The packet contains reference location for the GNSS module. </td></tr>
<tr>
<td>810 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea19e1adb3e180af8c09c84c63ae9e789f">PMTK_TEST_ALL</a> </td><td>Enter MP test mode and set test item and SV id. </td></tr>
<tr>
<td>811 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea7bc54655b91905cd5de5770adef0b58e">PMTK_TEST_STOP</a> </td><td>Testing tool could send this command to GPS receiver to leave MP test mode. </td></tr>
<tr>
<td>812 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea037ee569708e29066d04d6b24a589998">PMTK_TEST_FINISH</a> </td><td>GPS receiver will send out this PMTK packet to show that MP testing has finished. </td></tr>
<tr>
<td>813 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beae2dbe959ff5bc2dcd3dc71a92d5c053c">PMTK_TEST_ALL_ACQ</a> </td><td>The result of TEST_ACQ item. </td></tr>
<tr>
<td>814 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beaa93754c9b38d52d93c691c0ab53a7b7d">PMTK_TEST_ALL_BITSYNC</a> </td><td>The result of TEST_BITSYNC item. </td></tr>
<tr>
<td>815 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bead90d6c9f7c3e751fd1cab1b92187bfb0">PMTK_TEST_ALL_SIGNAL</a> </td><td>The result of TEST_SIGNAL item. </td></tr>
<tr>
<td>837 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea86e6074288800bb3626e16e735dcc6f8">PMTK_TEST_JAMMING</a> </td><td>Jamming scan test command. </td></tr>
<tr>
<td>838 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea42011586fa1fca5a3643cac6b05b60c0">PMTK_TEST_JAMMING_DETECTION</a> </td><td>Jamming detection test command. </td></tr>
<tr>
<td>869 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea2ac3e95cf254fb53202aa90270d17492">PMTK_EASY_ENABLE</a> </td><td>Enable or disable EASY function. Query if EASYis enabled orr disabled. </td></tr>
<tr>
<td>875 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84beadd3af74a2c6d9ea8a5411dfdb51e93a4">PTMK_PMTKLSC_STN_OUTPUT</a> </td><td>Enable or disable PMTKLSC Sentence output.Query if PMTKLSC Sentence output enabled or disabled. </td></tr>
<tr>
<td>886 </td><td><a class="el" href="group__pmtk__command.html#gga6012e5fa857099f0e5fd61bb6d1f84bea1552640a94f244c1a0c27e14bafdd426">PMTK_FR_MODE</a> </td><td>Set navigation mode. </td></tr>
</table>
<hr/>
<h1><a class="anchor" id="Version_Chapter"></a>
Version Control</h1>
<table class="doxtable">
<tr>
<th>Version </th><th>Date </th><th>Description  </th></tr>
<tr>
<td>3.0 </td><td>2014/07/11 </td><td>Initial version.<br />
 Based on 2.16.<br />
 1. Add PMTKJAM </td></tr>
<tr>
<td>3.1 </td><td>2014/10/15 </td><td>1. Delete PMTK389<br />
 2. Delete PMTK589<br />
 3. Modify the description of PMTK301<br />
 4. Modify the description of PMTK314<br />
 5. Modify the description of PMTK353<br />
 6. Add PMTK183<br />
 7. Add PMTK184<br />
 8. Add PMTK185<br />
 9. Add PMTK186<br />
 10. Add PMTK622 </td></tr>
<tr>
<td>3.2 </td><td>2015/02/13 </td><td>1. Modify the description of PMTK183<br />
 2. Modify the description of PMTK220<br />
 3. Add PMTK253<br />
 4. Add PMTK435<br />
 5. Modify the description of PMTK500<br />
 6. Add PMTK535<br />
 7. Add PMTK602<br />
 8. Add PMTK668<br />
 9. Add PMTK669<br />
 10. Add PMTK702<br />
 11. Add PMTK707<br />
 12. Add PMTK721 </td></tr>
<tr>
<td>3.3 </td><td>2015/06/10 </td><td>1. Add PMTK256<br />
 2. Add PMTK257<br />
 3. Delete PMTK300<br />
 4. Modify PMTK314<br />
 5. Modify PMTK352<br />
 6. Modify PMTK622<br />
 7. Modify PMTK667<br />
 8. Modify PMTK886 </td></tr>
<tr>
<td>3.4 </td><td>2015/10/19 </td><td>1. Correct PMTK875 checksum<br />
 2. Modify PMTK255<br />
 3. Correct PMTK314 checksum<br />
 4. Add PMTK311<br />
 5. Add PMTK411<br />
 6. Add PMTK262<br />
 7. Add PMTK449 </td></tr>
<tr>
<td>3.5 </td><td>2016/04/15 </td><td>1. Modify PMTK262<br />
 2. Add PMTK306<br />
 3. Add PMTK308<br />
 4. Modify PMTK355<br />
 5. Add PMTK406<br />
 6. Add PMTK408<br />
 7. Modify PMTK741<br />
 8. Modify PMTK837 </td></tr>
<tr>
<td>3.6 </td><td>2016/12/16 </td><td>1. Remove PMTK120<br />
 2. Add PMTK838<br />
 3. Update PMTK886 altitude limit </td></tr>
<tr>
<td>1.0.0 </td><td>2017/01/01 </td><td>1. Rename to "MT33xx_GNSS_PMTK_Users_Guide".<br />
 2. Reset version as "Version 1.0.0". </td></tr>
<tr>
<td>1.1.0 </td><td>2017/02/22 </td><td>1. Add PMTK189.<br />
 2. Modify PMTK260.<br />
 3. PMTK262 renaming.<br />
 4. Add PMTK328.<br />
 5. Add PMTK381.<br />
 6. Add PMTK385.<br />
 7. Add PMTK428.<br />
 8. Add PMTK436.<br />
 9. Add PMTK528.<br />
 9. Add PMTK536.<br />
 10. PMTK838 renaming.<br />
 11. Modify PMTK220.<br />
 12. Modify PMTK886. </td></tr>
<tr>
<td>1.2.0 </td><td>2017/04/17 </td><td>1. ANX 5.1 release for GALILEO satellites.<br />
 2. Add PMTK265.<br />
 3. Removed PMTK335.<br />
 4. Add PMTK458.<br />
 5. Add PMTK461. </td></tr>
</table>
<hr/>
<h1><a class="anchor" id="license"></a>
License</h1>
<p>Copyright Statement:</p>
<p>(C) 2005-2016 MediaTek Inc. All rights reserved.</p>
<p>This software/firmware and related documentation ("MediaTek Software") are protected under relevant copyright laws. The information contained herein is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licensors. Without the prior written permission of MediaTek and/or its licensors, any reproduction, modification, use or disclosure of MediaTek Software, and information contained herein, in whole or in part, shall be strictly prohibited. You may only use, reproduce, modify, or distribute (as applicable) MediaTek Software if you have agreed to and been bound by the applicable license agreement with MediaTek ("License Agreement") and been granted explicit permission to do so within the License Agreement ("Permitted User"). If you are not a Permitted User, please cease any access or use of MediaTek Software immediately. BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES THAT MEDIATEK SOFTWARE RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR SUPPLIED WITH MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Wed Apr 12 2017 14:21:13 for MT33xx GNSS PMTK User&#39;s Guide by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
